/**
 * Copyright &copy; 2012-2016 civet All rights reserved.
 */
package cn.mcsys.myadmin.modules.air.entity;

import cn.mcsys.myadmin.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 调度操作Entity
 * @author 波波
 * @version 2018-08-17
 */
public class AirDispatchLog extends DataEntity<AirDispatchLog> {
	
	private static final long serialVersionUID = 1L;
	private String user;		// 调度者
	private Date date;		// 调度时间
	private String ridePointName;		// 调度目的地
	private String carNumber;		// 调度车辆车牌
	private String fromLocation;		// 调度出发地
	private Date modificationDate;		// 修改时间
	private String note;		// note

	private Date beginDate;		// 开始日期
	private Date endDate;		// 结束日期

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public AirDispatchLog() {
		super();
	}

	public AirDispatchLog(Integer id){
		super(id);
	}

	@Length(min=0, max=255, message="调度者长度必须介于 0 和 255 之间")
	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}
	
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	@Length(min=0, max=255, message="调度目的地长度必须介于 0 和 255 之间")
	public String getRidePointName() {
		return ridePointName;
	}

	public void setRidePointName(String ridePointName) {
		this.ridePointName = ridePointName;
	}
	
	@Length(min=0, max=255, message="调度车辆车牌长度必须介于 0 和 255 之间")
	public String getCarNumber() {
		return carNumber;
	}

	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}
	
	@Length(min=0, max=255, message="调度出发地长度必须介于 0 和 255 之间")
	public String getFromLocation() {
		return fromLocation;
	}

	public void setFromLocation(String fromLocation) {
		this.fromLocation = fromLocation;
	}
	
	public Date getModificationDate() {
		return modificationDate;
	}

	public void setModificationDate(Date modificationDate) {
		this.modificationDate = modificationDate;
	}
	
	@Length(min=0, max=255, message="note长度必须介于 0 和 255 之间")
	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	
}